<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
<script src="http://apps.bdimg.com/libs/angular-route/1.3.13/angular-route.js"></script>
<script type="text/javascript">
angular.module('ngRouteExample', ['ngRoute'])
.controller('homeCtr', function ($scope, $route) { $scope.$route = $route;})
.controller('aboutCtr', function ($scope, $route) { $scope.$route = $route;})
.config(function ($routeProvider) {
    $routeProvider.
    when('/home', {templateUrl: 'home.html',controller: 'homeCtr'}).
    when('/about', {templateUrl: 'about.html',controller: 'aboutCtr'}).
    otherwise({redirectTo: '/home'});
});
</script>  
</head>
<body ng-app="ngRouteExample" class="ng-scope">
  <div> 
    <div id="navigation">  
      <a href="#/home">Home</a>
      <a href="#/about">About</a>
    </div>
    <div ng-view="">
    </div>
  </div>
</body>
</html>